package com.brightness.security.oauth2.server.service;

import com.brightness.security.oauth2.server.domain.TbPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: mailtohgh@163.com
 * @date: 2019/12/30
 * @time: 3:52 下午
 * @descript:
 */
public interface TbPermissionService{
    /**
     * 通过用户ID加载所属权限
     * @param userId
     * @return
     */
    List<TbPermission> selectByUserId(@Param("userId") Long userId);
}
